package com.cloud;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class CustomJPanel extends JPanel {
	private String s;
    
	public String getS() {
		return s;
	}

	public void setS(String s) {
		//System.out.println("setting str");
		this.s = s;
	}

	public CustomJPanel(String s)  {
		super();
		this.s = s;
		JLabel l2 = new JLabel(s);
		 this.add(l2); 
	}
	
	public CustomJPanel()  {
	}

	@Override
	public String toString() {
		return "CustomJPanel [s=" + s + "]";
	}
	
	
}
